import Vue from 'vue'
import VueRouter from 'vue-router'
import home from "@/pages/home/home"
import navs from "@/pages/navs/navs"
import start from "@/pages/start/start"

Vue.use(VueRouter)

export const asyncRoutes = [
  {
    path: '/',
    name: 'home',
    component: home
  },
  {
    path: '/home',
    name: 'home',
    component: home
  },
  {
    path: '/navs',
    name: 'navs',
    component: navs
  },
  {
    path: '/start',
    name: 'start',
    component: start
  }
]

const router = new VueRouter({
  routes: asyncRoutes
})

export default router
